import { Form, FormInstance, Input } from "antd";
import React from "react";

function index({ form }: any) {
  return (
    <>
      <Form form={form} style={{ marginTop: 20 }}>
        <Form.Item name="username" label="账号">
          <Input placeholder="请输入账号" allowClear />
        </Form.Item>
        <Form.Item name="password" label="密码">
          <Input placeholder="请输入密码" allowClear />
        </Form.Item>
        <Form.Item name="email" label="邮箱">
          <Input placeholder="请输入邮箱" allowClear />
        </Form.Item>
      </Form>
    </>
  );
}

export default index;
